package service.com.geekbang.supermaket.Learn.ai;

import java.util.Scanner;

public class AI2AppMain {
        public static void main(String[] args) {
                AI2 ai2 = new AI2() ;
                Scanner in = new Scanner(System .in) ;
                while (true ){
                        String input = in.next() ;
                        if ("exit".equals(input ) ){
                                System.out.println("再见");
                                break;
                        }
                        String answer = ai2.answer(input);
                        System.out.println(answer);
              }
        }
}
